package com.wzd.shoppingService.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 *
 * @author WeiZiDong
 */
@Table(name = "`test_order_product`")
@Data
@ApiModel("")
public class TestOrderProduct implements Serializable {
    @Id
    @Column(name = "`id`")
    @ApiModelProperty(value = "主键", example = "String")
    private String id;
    @Column(name = "`create_by`")
    @ApiModelProperty(value = "创建人", example = "String")
    private String createBy;
    @Column(name = "`create_time`")
    @ApiModelProperty(value = "创建日期", example = "2019-05-05 17:55:31")
    private Date createTime;
    @Column(name = "`update_by`")
    @ApiModelProperty(value = "更新人", example = "String")
    private String updateBy;
    @Column(name = "`update_time`")
    @ApiModelProperty(value = "更新日期", example = "2019-05-05 17:55:31")
    private Date updateTime;
    @Column(name = "`product_name`")
    @ApiModelProperty(value = "产品名字", example = "String")
    private String productName;
    @Column(name = "`price`")
    @ApiModelProperty(value = "价格", example = "1.0")
    private Double price;
    @Column(name = "`num`")
    @ApiModelProperty(value = "数量", example = "1")
    private Integer num;
    @Column(name = "`descc`")
    @ApiModelProperty(value = "描述", example = "String")
    private String descc;
    @Column(name = "`order_fk_id`")
    @ApiModelProperty(value = "订单外键ID", example = "String")
    private String orderFkId;
    @Column(name = "`pro_type`")
    @ApiModelProperty(value = "产品类型", example = "String")
    private String proType;

    private static final long serialVersionUID = 1L;
}
